<template>
  <n-form ref="formRef">
    <ocean :use="form.formItems"></ocean>
  </n-form>
</template>
<script lang="ts" setup>
import { computed, onMounted, ref } from 'vue';

interface Props {
  ocean: any
}
const props = defineProps<Props>()
const form = computed(() => props.ocean);

const formRef = ref();
onMounted(() => {
  form.value.setRef(formRef)
})
</script>